import UIKit

struct ConversationResponse: Codable {

    let conversationId: String
    let name: String
    let category: String
    let iconUrl: String
    let announcement: String
    let createdAt: String
    let participants: [ParticipantResponse]
    let codeUrl: String
    let creatorId: String
    let muteUntil: String
}

struct ParticipantResponse: Codable {

    let userId: String
    let role: String
    let createdAt: String
}
